import request from '../utils/http'
export function ApiGetBanner() {
  return request({
    url: `/system/menu/admin`,
    method: 'get',
  })
}
export function ApiGetVipBanner() {
  return request({
    url: `/system/menu/vip`,
    method: 'get',
  })
}
export function ApiLogin() {
  return request({
    url: `/login/admin`,
    method: 'post',
  })
}
export function ApiVipLogin() {
  return request({
    url: `/login/vip`,
    method: 'post',
  })
}
export function ApiLoginLocal(user) {
  return request({
    url: '/api/login?user=' + user,
    method: 'get',
  })
}
